package com.example.reactordemo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table("student")
public class Student implements Serializable {
    @Id
    private Long id;

    private String code;
    private String name;
    private String gender;
    private String address;
    private Integer active;
}

